../base/rest.py